export default {
  methods: {
    checkPermission(btnName) {
      // const roles = this.$store.state.user.userInfo.roles
      // return roles ? roles.points.includes(btnName) : false
      return this.$store.state.user.userInfo.roles?.points.includes(btnName)
    }
  }
}
